package com.lcf.ploy;

import java.util.Objects;

/**
 * @author 懒洋洋不懒
 * @version 1.0
 * @date 2025/4/11 16:05
 * @description
 */
public class Apple {
    private double size;
    private String color;

    public Apple(double size, String color) {
        super();
        this.size = size;
        this.color = color;
    }

    public Apple() {
        super();
    }

    public double getSize() {
        return size;
    }

    public void setSize(double size) {
        this.size = size;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    @Override
    public String toString() {
        return size + "-" + color;
    }
}

